package com.slz3.business.module.templateExample.temStyle1.service;

import com.slz3.business.module.templateExample.temStyle1.domain.TemStyle1;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;
import java.util.stream.Stream;

/**
 * 非事务型 service
 */
public interface TemStyle1Service {

    TemStyle1 save(TemStyle1 temStyle1);

    Page<TemStyle1> page(MultiValueMap<String,String> queryParams);

    TemStyle1 modify(TemStyle1 temStyle1);

    Optional<TemStyle1> single(UUID uuid);

    List<TemStyle1> findAllByUuids(Iterable<UUID> uuids);

    List<TemStyle1> delete(List<TemStyle1> temStyle1List);

}
